<include file="../Public/header" />
<script data-main="__PUBLIC__/admin/js/page/admin/global/weibo" src="__PUBLIC__/admin/js/lib/requirejs/require.js"></script>
</head>

<body>
  <div class="page">
    <div class="page-hd">
      <h1>{$Think.lang.weiboConfig}</h1>
    </div>
    <div class="form">
      <form method="post" action="{:URL('admin/Global/doSetWeibo')}" enctype="multipart/form-data">
        <dl class="kv">
          <dt>
            <label>{$Think.lang.isAnonymousAccess}：</label>
          </dt>
          <dd>
            <label>
              <input name="site_anonymous" type="radio" value="1" <eq name="site_anonymous" value="1">checked</eq>
              >{$Think.lang.enabled}</label>&nbsp;&nbsp;&nbsp;&nbsp;
            <label>
              <input name="site_anonymous" type="radio" value="0" <eq name="site_anonymous" value="0">checked</eq>
              >{$Think.lang.disabled}</label>
            <p class="tip">{$Think.lang.isAnonymousAccessRemark}</p>
            <!-- 对于没有登录或注册的用户是否允许访问个人空间 -->
          </dd>
        </dl>
        <dl class="kv">
          <dt>
            <label>{$Think.lang.isAnonymousAccessMak}：</label>
          </dt>
          <!-- 是否允许匿名访问微博广场 -->
          <dd>
            <label>
              <input name="site_anonymous_square" type="radio" value="1" <eq name="site_anonymous_square" value="1">checked</eq>
              >{$Think.lang.enabled}</label>&nbsp;&nbsp;&nbsp;&nbsp;
            <label>
              <input name="site_anonymous_square" type="radio" value="0" <eq name="site_anonymous_square" value="0">checked</eq>
              >{$Think.lang.disabled}</label>
            <p class="tip">{$Think.lang.isAnonymousAccessMakRemark}</p>
            <!-- 对于没有登录或注册的用户是否允许访问微博广场 -->
          </dd>
        </dl>
        <dl class="kv">
          <dt>
            <label>{$Think.lang.isAnonymousSearch}：</label>
          </dt>
          <!-- 是否允许匿名访问搜索 -->
          <dd>
            <label>
              <input name="site_anonymous_search" type="radio" value="1" <eq name="site_anonymous_search" value="1">checked</eq>
              >{$Think.lang.enabled}</label>&nbsp;&nbsp;&nbsp;&nbsp;
            <label>
              <input name="site_anonymous_search" type="radio" value="0" <eq name="site_anonymous_search" value="0">checked</eq>
              >{$Think.lang.disabled}</label>
            <p class="tip">{$Think.lang.isAnonymousSearchRemark}</p>
            <!-- 对于没有登录或注册的用户是否允许访问搜索 -->
          </dd>
        </dl>
        <dl class="kv">
          <dt>
            <label>logo：</label>
          </dt>
          <dd>
            <img src="{$site_logo}" />
            <input type="file" name="site_logo" />
            <p class="tip">{$Think.lang.logoRemark}</p>
            <!--重要: 在线上传LOGO，最好是8位透明PNG图标!-->
          </dd>
        </dl>
        <dl class="kv">
          <dt>
            <label>{$Think.lang.openVerify}：</label>
          </dt>
          <!-- 开启验证码 -->
          <dd>
            <input name="site_verify_register_chk" type="checkbox" <eq name="site_verify_register" value="Y">checked</eq>
            onclick="clickCheckbox(this,'site_verify_register');">{$Think.lang.siteRegister}
            <!--  注册页面-->
            <input name="site_verify_login_chk" type="checkbox" <eq name="site_verify_login" value="Y">checked</eq>
            onclick="clickCheckbox(this,'site_verify_login');">{$Think.lang.siteLogin}
            <!--登录页面-->
            <input type="text" name="site_verify_register" id="site_verify_register" value="{$site_verify_register}" style="display: none;" />
            <input type="text" name="site_verify_login" id="site_verify_login" value="{$site_verify_login}" style="display: none;" />
            <p class="tip">{$Think.lang.openVerifyRemark}</p>
          </dd>
        </dl>
        <dl class="kv">
          <dt>
            <label>{$Think.lang.weiboLength}：</label>
          </dt>
          <dd>
            <input class="input-text" name="length" type="number" value="{$length}" onkeydown="KeyCodeOnlyNumber();">{$Think.lang.word}
            <p class="tip">{$Think.lang.weiboLengthRemark}</p>
          </dd>
        </dl>
        <dl class="kv">
          <dt>
            <label>{$Think.lang.weiboSecond}：</label>
          </dt>
          <dd>
            <input class="input-text" name="max_post_time" type="number" value="{$max_post_time}" onkeydown="KeyCodeOnlyNumber();">{$Think.lang.second}
            <p class="tip">{$Think.lang.weiboSecondRemark}</p>
          </dd>
        </dl>
        <dl class="kv">
          <dt>
            <label>{$Think.lang.maxFollowing}：</label>
          </dt>
          <dd>
            <input class="input-text" name="max_following" type="number" value="{$max_following}" onkeydown="KeyCodeOnlyNumber();">{$Think.lang.man}
            <p class="tip">{$Think.lang.maxFollowingRemark}</p>
          </dd>
        </dl>
        <dl class="kv">
          <dt>
            <label>{$Think.lang.maxSearchTime}：</label>
          </dt>
          <dd>
            <input class="input-text" name="max_search_time" type="number" value="{$max_search_time}" onkeydown="KeyCodeOnlyNumber();">{$Think.lang.second}
            <p class="tip">{$Think.lang.maxSearchTimeRemark}</p>
          </dd>
        </dl>
        <!-- 是否隐藏无头像的用户 -->
        <!--
        <dl class="kv">
          <dt>
            <label>{$Think.lang.hideNoAvatar}：</label>
          </dt>
          <dd>
            <label><input name="hide_no_avatar" type="radio" value="1"
            <eq name="hide_no_avatar" value="1">checked</eq>
              >{$Think.lang.display}</label>&nbsp;&nbsp;&nbsp;&nbsp; <label><input
              name="hide_no_avatar" type="radio" value="0"
            <eq name="hide_no_avatar" value="0">checked</eq>
              >{$Think.lang.hidden}</label>
          </dd>
        </dl>
        -->
        <!-- 是否隐藏默认关注的用户 -->
        <!--
        <dl class="kv">
          <dt>
            <label>{$Think.lang.hideAutoFriend}：</label>
          </dt>
          <dd>
            <label><input name="hide_auto_friend" type="radio"
              value="1"
            <eq name="site_user_domain_on" value="1">checked</eq>
              >{$Think.lang.display}</label>&nbsp;&nbsp;&nbsp;&nbsp; <label><input
              name="hide_auto_friend" type="radio" value="0"
            <eq name="site_user_domain_on" value="0">checked</eq>
              >{$Think.lang.hidden}</label>
          </dd>
        </dl>
        -->
        <div class="actions">
          <input class="btn btn-y" type="submit" value="{$Think.lang.OK}" />
        </div>
      </form>
    </div>
  </div>
</body>

</html>
